package strategy;

/**
 * Created by longshihan on 2017/7/4.
 */
public class Contextt {
    private Strategyy strategyy;

    public Contextt(Strategyy strategyy) {
        this.strategyy = strategyy;
    }

    public double cost(double num) {
      return   strategyy.cost(num);
    }
}
